﻿using IrrKlang;

namespace Chimp.Core
{
    public class ChimpAudioSource
    {
        public ISoundSource Source;

        public ChimpAudioSource(ISoundSource src)
        {
            Source = src;
            Volume = 1.0f;
            Pan = 0.0f;
        }

        public float Volume { get; set; }
        public float Pan { get; set; }
        public ISound Sound { get; set; }

        public void Stop()
        {
            Sound.Stop();
        }

        ~ChimpAudioSource()
        {
            //    AL.DeleteSource(Source);
        }
    }
}